package com.base.common.edu.mapper;

import com.base.common.edu.entity.StuAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author Maple.Chen
 * @Description 数据交互层 - 学生账户
 * @Date 17:09 2021/2/23
 **/
@Mapper
@Repository
public interface StuAccountMapper {

    // 新增账户
    int addStuAccount(@Param("stu_a") StuAccount stuAccount);
    // 删除账户
    int delStuAccount(String stu__id);
    // 修改账户
    int updateStuAccount(@Param("stu_a") StuAccount stuAccount);
    // 根据学生id查询账户
    StuAccount queryStuAccountById(String stu__id);

}
